<extend name="Public:layout" />
<block name="content">
    <div class="blog col-md-9">
        <div class="clearfix">
            <volist name="list.list" id="vo">
                <div class="event-container clearfix">
                    <div class="event clearfix">
                        <div class="eventsimg">
                            <img src="__IMG__/Image-1.jpg" alt="">
                        </div>
                        <div class="event-content">
                            <h3 class="title"><a href="{:U('Blog/info',array('post_id'=>$vo['post_id']))}">{$vo.post_title}</a></h3>
                            <ul class="meta">
                                <li><a href="event-blog.html#"><i class="icon fa  {$post_type[$vo['type']]['font-icon']}"></i>{$post_type[$vo['type']]['name']}</a>
                                <li class="date"><i class="icon fa fa-calendar"></i>{$vo.create_time|friendlyDate}</li>
                                <li><a href="event-blog.html#"><i class="icon fa fa-comment"></i>{$vo.views}</a> </li>
                                <li><a href="event-blog.html#"><i class="icon fa fa-user"></i>{$vo.author_name}</a></li>
                            </ul>
                            <p>{$vo.post_excerpt}</p>
                            <a href="{:U('Blog/info',array('post_id'=>$vo['post_id']))}" class="btn btn-disabled">阅读更多</a>
                        </div>
                    </div>
                </div>
            </volist>
            {$list.page}
        </div>
    </div>
</block>
<block name="sidebar">
    <div class="col-md-3">
        <aside id="aside" class="aside-bar-style-two clearfix">
            <div class="widget border-remove clearfix">
                <div class="eventform-con ">
                    <form>
                        <div class="form-input search-location">
                            <input type="text" placeholder="想看什么呢" >
                            <button class="icon fa fa-search"></button>
                        </div>
                    </form>
                </div>
            </div>
            {:W('Common/SideBar/getSideBar')}
        </aside>
    </div>
</block>